from threading import Thread
import time

class MyThread(Thread):
    def run(self):
        for i in range(10):
            time.sleep(1)
            print(f'I am {self.name} @ {i}')

if __name__ == '__main__':
    t=MyThread()
    t.start()
